import axios from "axios";
import { api_urls } from "./urls";

export const payment_api = {
    deletePayment(id) {
        return axios.post(api_urls.payment.delete, {id: id})
    },
    pagePayment(paymentReq) {
        return axios.post(api_urls.payment.page, paymentReq)
    },
    updatePayment(payment) {
        return axios.post(api_urls.payment.update, payment)
    },
    createPayment(payment) {
        return axios.post(api_urls.payment.create, payment)
    },
}

